// pages/index/qun/qun.js
Page({
  data: {
    height: "0rpx"
  },
  onLoad: function (options) {
    this.setData({
      height: wx.getSystemInfoSync().windowHeight + 'px'
    })
  },
  copyQQ() {
    wx.setClipboardData({
      data: "664091209",
      success: function (res) {
        wx.getClipboardData({
          success: function (res) {
            wx.showModal({
              title: '提示',
              content: 'QQ群复制成功啦，快去加入吧！',
              showCancel: false
            })
          }
        })
      }
    })
  },
})